//
//  UIColor+JTExtension.h
//  百思不得姐
//
//  Created by Robin Zhang on 2017/3/1.
//  Copyright © 2017年 BeiJingWangDianJieTong. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIColor (JTExtension)

/** 十六进制数转化为颜色(如 0x123456) */
// 1.十六进制数
+ (instancetype)jt_colorWithHex:(NSInteger)hexValue alpha:(CGFloat)alphaValue;
+ (instancetype)jt_colorWithHex:(NSInteger)hexValue;
// 2.十六进制格式字符串
+ (instancetype)jt_colorWithHexString:(NSString *)hexValueString alpha:(CGFloat)alphaValue;
+ (instancetype)jt_colorWithHexString:(NSString *)hexValueString;

/** 获取颜色的十六进制字符串 */
- (NSString *)jt_hexString;

@end
